Component({
    options: {
        addGlobalClass: !0
    },
    properties: {
        enterprise: {
            type: Object,
            value: {}
        },
        typeName: {
            type: String,
            value: ""
        }
    },
    data: {
        time: "month"
    },
    methods: {
        monthNum: function(e) {
            console.log(e), console.log(this.data);
            var t = e.currentTarget.dataset.time, n = e.currentTarget.dataset.typename;
            console.log(n), this.setData({
                time: t
            }), console.log(t);
            var o = {
                timeCard: t,
                typename: n
            };
            this.triggerEvent("myevent", o);
        },
        onSecond: function(e) {
            var t = e.currentTarget.dataset.typename;
            this.triggerEvent("navToSecond", t);
        },
        ononSecondLevel: function(e) {
            this.triggerEvent("navToSecondLevel");
        }
    }
});